home *** CD-ROM | disk | FTP | other *** search
- /* WCBuild.cmd */
-
- curdir = directory()
-
- /* Load REXXUTIL */
- call rxfuncadd sysloadfuncs, rexxutil, sysloadfuncs
- call sysloadfuncs
-
- /* The basic call is listed next. */
- /* result = SysCreateObject(classname, title, location, setup) */
-
- call SysCls
- Say " You Are installing The DropZone Final Beta"
- Say " "
- Say " Black Pine Development CONNOT be held Responsibled for"
- Say " any direct or indirect damage caused by using DropZone!!!"
- Say " Installation impies aggreement to these terms."
-
- Say 'Adding DropZone to your Desktop...'
-
- Say '';Say 'Press Y to add DropZone to The Desktop...';Say '';
- parse upper value SysGetKey('NOECHO') with key
- If key<>'Y' Then Exit
-
- classname='WPProgram'
- title="DropZone"
- location='<WP_DESKTOP>'
- setup='PROGTYPE=PM;EXENAME='curdir'\DROPZONE.EXE;ICONFILE='curdir'\dropzone.ico'
- say setup
- Call BldObj
- say ' Copyright 1995 Black Pine Development'
- Exit
-
- /* Build Object */
- BldObj:
- call charout ,'Building: 'title
-
- result = SysCreateObject(classname, title, location, setup)
-
- If result=1 Then call charout ,'... Object created!'
- Else call charout ,'... Not created! Return code='result
-
- args.0 = 2
- args.1 = "dzinf.inf"
- args.2 = "General Information"
- 'VIEW' args.1 args.2
-
- Say '';
- Return
-
-